<div class="container content">
    <div class="trong-content">
	<div class="left">
	    <?php $this->renderPartial('//layouts/menu_left'); ?>
	</div><!--left-->
	<div class="center">

	    <div class="box update-account-box">
		<div class="title">Success story</div>
		<?php $this->renderPartial('_menu', array('item' => 'all')); ?>
		<div class="wrap-success-story">
		    <ul>
			<?php foreach ($aStories as $item) { ?>
    			<li><?php echo h($item->text); ?><br>&nbsp;&nbsp;&nbsp;&nbsp; <?php echo $item->user->username; ?>
    			</li>   
			<?php } ?>
		    </ul>
		</div><!--box-->
		<!-- ************************************** START PAGINATOR *************************************-->
		<div class="pagination pagination-1 user-paginator">
		    <?php
		    $this->widget('bootstrap.widgets.TbPager', array(
			'pages' => $pages
		    ))
		    ?>
		    <div class='total-record'>
			<?php
			if ($iTotalRecord > Story::TOTAL_RECORD) {
			    $array = getPageination($pages);
			    ?>
    			Showing <?php echo $array['start']; ?>-<?php echo $array['end']; ?> of <?php echo $iTotalRecord; ?>    		    
			<?php } ?>
		    </div>
		</div>
		<!-- ************************************** END PAGINATOR *************************************-->
	    </div>
	</div><!--center-->
	<div class="right">

	    <?php $this->widget('application.widgets.leftprofile.PercentComplete') ?>
	    <?php $this->widget('application.widgets.leftprofile.Interested'); ?>

	</div><!--right-->

    </div><!--trong-content-->


</div><!--content-->

